{include file="./modules/simple_messaging/templates/menu.tpl"}
{config_load file=$simple_messaging_lang_conf}
{literal}
<style type="text/css">
#spm {
	background:#f2fbff;
	border:1px solid #c3eafa;
	border-collapse:separate;
}
#spm th, tfoot {
	background:#e6f7fd;
	border-top:1px solid #fff;
	border-right:1px solid #aae0ff;
	border-bottom:1px solid #cfeffb;
	border-left:1px solid #fff;
	padding:7px 10px;
	text-align:left;
}
#spm td {
	border-top:1px solid #fff;
	border-bottom:1px solid #cfeffb;
	border-right:1px solid #cfeffb;
	border-left:1px solid #fff;
	padding:4px 10px;
	line-height:20px;
}
</style>
{/literal}
<table id="spm" cellpadding="0" cellspacing="0">
	<tr>
		<th width="17%">{#PLIGG_MESSAGING_From#}</th>
		<th><a href="{$my_pligg_base}/user.php?login={$msg_array.sender_name}"><strong>{$msg_array.sender_name}</strong></a></th>
	</tr>
	<tbody>
		<tr>
			<td><strong>{#PLIGG_MESSAGING_Sent#}</strong></td>
			<td>{$msg_array.date}</td>
		</tr>
		<tr>
			<td><strong>{#PLIGG_MESSAGING_Subject#}</strong></td>
			<td>{$msg_array.title}</td>
		</tr>
		<tr>
			<td valign="top"><strong>{#PLIGG_MESSAGING_Message#}</strong></td>
			<td>{$msg_array.body}</td>
		</tr>
	</tbody>
	<tfoot>
		<tr>
			<td valign="top"><strong>Action</strong></td>
			<td>
				<a href="{$URL_simple_messaging_reply}{$msg_id}"><img src="{$simple_messaging_path}images/reply.png" align="absmiddle" /> {#PLIGG_MESSAGING_Reply#}</a> &nbsp; &nbsp; &nbsp;
				<a href="{$URL_simple_messaging_delmsg}{$msg_id}"><img src="{$simple_messaging_path}images/delete.png" align="absmiddle" /> {#PLIGG_MESSAGING_Delete#}</a> &nbsp; &nbsp; &nbsp;
				<a href="{$URL_simple_messaging_inbox}"><img src="{$simple_messaging_path}images/cross.png" align="absmiddle" /> {#PLIGG_MESSAGING_Close#}</a>
			</td>
		</tr>
	</tfoot>
</table>
</div>
{config_load file=simple_messaging_pligg_lang_conf}
